export const deviceStatus = [
  {
    value: 0,
    label: '离线',
  },
  {
    value: 1,
    label: '在线',
  },
];

export const getDeviceStatus = (value: number) => {
  return deviceStatus.find((v) => v.value === value)?.label;
};
